package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BaseHeroSkillLevel;

public class HeroSkillLevel extends BaseHeroSkillLevel {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public HeroSkillLevel() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public HeroSkillLevel(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public HeroSkillLevel(java.lang.Integer id, java.lang.Integer skillId,
			java.lang.Integer needLevel, java.lang.Integer addInterval,
			java.lang.Integer addAttack, java.lang.Integer addDefense,
			java.lang.Integer addLife, java.lang.Integer skillType,
			java.lang.Integer skillRange) {

		super(id, skillId, needLevel, addInterval, addAttack, addDefense,
				addLife, skillType, skillRange);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setAddAttack(0);
		this.setAddDefense(0);
		this.setAddInterval(0);
		this.setAddLife(0);
		this.setId(0);
		this.setNeedLevel(0);
		this.setRange(0);
		this.setSkillId(0);
		this.setSkillType(0);
	}
}